package com.hqy.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "gateway.security")
public class WhiteListPathsConfig {

    private List<String> whiteListPaths = new ArrayList<>();

    public List<String> getWhiteListPaths() {
        return whiteListPaths;
    }

    public void setWhiteListPaths(List<String> whiteListPaths) {
        this.whiteListPaths = whiteListPaths;
    }
}
